Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve e2e integration tests and isolate tests from other things; includes patch to Serializer #5497

Merged
merged 41 commits into from
Feb 14, 2025

Conversation

rysweet
Copy link
Collaborator

@rysweet rysweet commented Feb 11, 2025

removing the dependency between tests and sample projects because that got broken too easily

Why are these changes needed?

  • integration tests used to use the samples - now they are separate
  • patch dictionary problem in serializer
  • add Message Registry with dead letter queue that gets checked on new subs.

Checks

@rysweet rysweet marked this pull request as draft February 11, 2025 21:09
Copy link

codecov bot commented Feb 11, 2025

Codecov Report

Attention: Patch coverage is 1.07527% with 92 lines in your changes missing coverage. Please review.

Project coverage is 72.11%. Comparing base (3abc022) to head (a61c134).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...eway.Grpc/Services/Orleans/MessageRegistryGrain.cs 0.00% 21 Missing and 5 partials ⚠️
...n/RuntimeGateway.Grpc/Services/Grpc/GrpcGateway.cs 0.00% 18 Missing and 4 partials ⚠️
...ation.Tests.AppHosts/HelloAgentTests/HelloAgent.cs 0.00% 16 Missing and 1 partial ⚠️
...y.Grpc/Services/Orleans/Surrogates/AnySurrogate.cs 0.00% 10 Missing ⚠️
...egration.Tests.AppHosts/HelloAgentTests/Program.cs 0.00% 9 Missing and 1 partial ⚠️
....AutoGen/Agents/IOAgent/FileAgent/IHandleFileIO.cs 0.00% 3 Missing ⚠️
...oGen/Agents/IOAgent/ConsoleAgent/IHandleConsole.cs 0.00% 2 Missing ⚠️
...eGateway.Grpc/Abstractions/MessageRegistryState.cs 0.00% 1 Missing ⚠️
...on.Tests.AppHosts/InMemoryTests.AppHost/Program.cs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5497      +/-   ##
==========================================
- Coverage   78.74%   72.11%   -6.64%     
==========================================
  Files         167      236      +69     
  Lines       10004    11853    +1849     
  Branches        0      230     +230     
==========================================
+ Hits         7878     8548     +670     
- Misses       2126     3128    +1002     
- Partials        0      177     +177     
Flag Coverage Δ
unittests 72.11% <1.07%> (-6.64%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rysweet rysweet marked this pull request as ready for review February 13, 2025 22:57
@rysweet rysweet changed the title Rysweet ensure helloagent in test uses grpc Improve e2e integration tests and isolate tests from other things; includes patch to Serializer Feb 14, 2025
dotnet/samples/Hello/HelloAgent/Program.cs Outdated Show resolved Hide resolved
python/uv.lock Outdated Show resolved Hide resolved
@rysweet rysweet merged commit ff7f863 into main Feb 14, 2025
53 of 54 checks passed
@rysweet rysweet deleted the rysweet-ensure-helloagent-in-test-uses-grpc branch February 14, 2025 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants